<?php 
$sql =	"SELECT
			  c.page_id,
			  d.title,
			  d.description,
			  d.meta_key,
			  d.meta_description	
		  FROM
			  pages AS c,
			  page_description AS d
		  WHERE
		  
			  c.page_id = d.page_id
			  AND
			  d.lang_id = '".$_SESSION['lang_id']."'
			  AND
			  c.page_id = '".$sef_url."' 
			  AND c.published
		  ";
$result = query($sql);
$row = mysql_fetch_object($result);

if(!$row) redirect(HTML_BASE.$_SESSION['lang'].'/404');
head(sth($row->title),sth($row->meta_description));



?>
<div class="wrapper-all-projects cf">
            <header id="header" class="cf">
                <div id="search-icon"></div>
                <div id="logo"></div>
                <div id="menu-icon"></div>
            </header> <!--# header-->

            <section id="content-project" class="cf">
           		 <article id="project" class="cf">
         
                <h1><?=stripslashes($row->title)?></h1>
                <?=stripslashes($row->description)?>
                
               
            
            </article>
        </section> <!--# content--> 
	
<?php

foot();
?>